package com.ywx;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by benjamin on 2017/4/26.
 */
@RestController
public class HystrixController {


    @Autowired
    private HystrixService service;

    @RequestMapping("/call")
    public String callDependencySerview(){
        return service.callDependencySerview();
    }

}
